package com.big_data_studio.service;

import com.big_data_studio.entity.Oss;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;

/**
 * <p>
 * 对象存储 服务类
 * </p>
 *
 * @author PC
 * @since 2022-10-16
 */
public interface IOssService extends IService<Oss> {
    /**
     * 保存图片
     */
//    public void save(String ossPath, String ossNoticeFlag, int ossNoticeId, String createName);
    /**
     * 上传图片
     */
    public String uploadMarkdownImg(MultipartHttpServletRequest file);

    public String uploadImg(MultipartFile file);
    /**
     * 上传封面
     */
//    public String  upCover(MultipartFile file,int noticeId);
}
